package com.sakura.flux.feign;

import com.sakura.flux.entity.Contributor;
import feign.Param;
import feign.RequestLine;

import java.util.List;

public interface GitHubClient {
    @RequestLine("GET /repos/{owner}/{repo}/contributors")
    List<Contributor> contributors(@Param("owner") String owner, @Param("repo") String repo);

}


